import React from "react"

import { Input} from 'antd-mobile'
import FormError from "./form-error";
export default function FormInput(props:any){

    return <><Input {...props} />
      <FormError errors={props["data-__field"]?.errors} ></FormError>
    </>
}